# Contributor: Justin Berthault <justin.berthault@zaclys.net>
# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
pkgname=py3-pywal
pkgver=3.3.0
pkgrel=4
pkgdesc="Generate and change colorschemes on the fly"
url="https://github.com/dylanaraps/pywal/"
arch="noarch"
license="MIT"
depends="
	imagemagick
	python3
	"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/p/pywal/pywal-$pkgver.tar.gz
	fix-tmp-dir.patch
	"
builddir="$srcdir/pywal-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr  --root="$pkgdir"
}

sha512sums="
e8469ae1cb6596e78e9100907115e2075cfe6f984751e9972c36e60e27d1c379b4e8d2c5ef90becb689bcfcc1efb9702392e64602dbb93f903e12f3881ed42ce  pywal-3.3.0.tar.gz
12d5f79025af53f4dc4bacbdd9c6c6abfc648de81cd69c32a6c29f90870ce82725c5aef8ae40290d8e52f3088a34229fc64f0097b66f7c9cdd45c9955184b650  fix-tmp-dir.patch
"
